package org.x4444;

public class AccountClient {

	final Account account;

	public AccountClient(Account account) {
		this.account = account;
	}

	public void doIt() {

		if (account != null) {
			String res = account.getName();

			System.out.println(res);
		} else {
			System.out.println("account is null");
		}
	}
}
